//
//  Activity.h
//  EFSMobile
//
//  Created by CaoJun on 15/11/20.
//  Copyright © 2015年 Elephants Financial Service. All rights reserved.
//

#import "EFSModel.h"

@class RACSignal;

@interface ActivityInfo : EFSModel <MTLJSONSerializing>

@property (nonatomic, copy) NSString *activityId;
@property (nonatomic, strong) NSURL *url;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *desc;
@property (nonatomic, copy) NSString *content;
@property (nonatomic, copy) NSString *category;
@property (nonatomic, copy) NSString *viewTitle;

@property (nonatomic, strong) NSURL *img;
@property (nonatomic, strong) NSURL *shareImg;
@property (nonatomic, strong) NSURL *galleryImg;

@property (nonatomic, strong) NSNumber *type;
@property (nonatomic, strong) NSNumber *publishTime;
@property (nonatomic, strong) NSNumber *messageType;
@property (nonatomic, strong) NSNumber *important;
@property (nonatomic, strong) NSNumber *top;

@property (nonatomic, strong) NSNumber *shareEnabled; //是否可以被分享 0 1

@property (nonatomic, strong) NSDate *date;
@property (nonatomic, assign) BOOL hasImage;

+ (RACSignal *)activityInfoById: (NSString *)activityId;

- (RACSignal *)participate;

@end
